package main

import (
	"fmt"
)

/*
	转换数据为字符串：
		func Sprint(a ...interface{}) string
		func Sprintf(format string, a ...interface{}) string
		func Sprintln(a ...interface{}) string
*/

func main() {
	str := fmt.Sprint(1, 2, 3)
	str1 := fmt.Sprintf("%d", 1)
	str2 := fmt.Sprintln(1, 2, 3)
	fmt.Printf("%v\n %v\n %v\n", str, str1, str2)
}
